add a new, File-based method