deleting a file from a directory