Add OName support for file