Fix fileList

These 2 functions would corrupt all other net.Read.. data.
Merge pull request #155 from edgarasf123/patch-3

Fix fileList