implemented file locking in any method that reads / writes directly to / from disk
made localFileExists call synchronous
refactored attempts at copying downloaded file to 'localized' path when localize is turned on
added isLocal check for getFile()