added support for local files in jobs