Change file names to chpater names