Fix offline file processing