Added warn() function.
Added comments in fileio module.
Added comments in fileio module.