Added ability to pass in user_data_file