Adapt Sunshine to use FileObjects instead of Files.