Checks whether the file is an ELF file or not