Explicit file handle opens and closes