Change file in directory.