merged files, optimized