public long getFilePosition(int sliderPos) {
		try {
			float fileRatio = (float) sliderPos / getMaximum();
			return (long) (reader.getFileSize() * fileRatio);
		}
		catch (IOException e) {
			Msg.error(this, "Error getting file size", e);
		}

		return 0;
	}
Returns the file position (long) for the given slider position (int). This is calculated by
computing the position of the slider as a percentage of its maximum, and applying the same
to the file position (relative to the total file size). 

@param sliderPos
@return
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/logviewer/ui/FVSlider.java