removed directory from file