Started on folder_out function