allow works with virutal directory

virtual directory is part of the key of a file with the key:
/dir/dir2/fileName.extension