Re-implemented unbuffered file I/O by using 'posix_memalign' along with O_DIRECT.