Implemented usage of FileChannel