Updates in sector/file_sector conversion