Cache/File: use File objects whenever possible