added support for absolute file position

The code checks if the file is available at app source. If not
available at app source, it checks if the file is available as absolute
position.