Update FileSystem.java

Edited read to return bytes read.