formatted folders and files to accept devise