A simple file helper utility