Support for direct processing of files via function call