Use File class at global context