Create a new FileSegment referring to the contents of the given file,
from the startPos-th byte and for sizeInteger bytes. Note that
FileSegments should always be created with full paths because
relative paths are interpreted to be relative to the kernel
directory.