Making the process_file function async. And the main export works with strings rather than files