Made definition and check file existence