Added support for file mode functions.