adding relative file support