Hmm, Ok. But you can still exstend the database with for example.
create table files (ID int primary key auto_increment not null, filename text,categori int not null)
Now you can fake a directory like this.
select * from files where categori=3; for example. And then you have another talbe like...