refactor file placements