add file static method