fixed relative file processing