Simple file system implementation on Java