Finished folder_out function