changed file handling