gets data for all files