add possibility to create files in subfolders

fixes #2 and make possible to create new sub dirs and new pages in subdirs;