Basic file utilities for Fipi