Optimize the creation of properties for files