Introduced wrapper for filesystem IO