reformat file for Facebook App