Added a check for main() with display full file