I found the solution, I've been reading my post here at the forums a couple of times and it was easier to read when it was separated from the rest of the code! XD
I didn't close the File-class "fileName" which was eating up the Megas' SRAM...
fileName.close();