Modified File class read method to leave allocation to BufferGuard
* BufferGuard offers internal allocation so it should be used
* fixed unsigned and signed size value comparison