Collecting and saving Facebook data into files