tried to call file directly in main