File utilities for Fipi