updated to accept local file path instead of just main bundle's file name

This is usable when I try to cache remote file URL and save it in Library/Documents folder in the app.