Added application file and path detection