Added file handle helper