Add class helper for file, it will be useful later.