Merge pull request #1 from palefo/master

Agregados
fixed error: don't close the file pointer
merge files and fixed one error :)
add new functions and fixed read and write functions
Merge pull request #1 from solrac-ceam/master

copy back