Check if fileonload is called when opening file from google drive