Getting file structure to order