more improves in create file
Merge pull request #1787 from diegosarmentero/master

more improves in create file