split files and scale transform