added enumeration for application file type and checking for file on ear
directory