setting file structure for auto created files