this should be a directory not a file