modified file reader to require size implicitly, for not allocating byte
array internally. and fixed infinie loop bug in case of reading void file.
add file reader/writer test case for void file.