I can't see where this function is defined, any hints? Also can you briefly explain how this file and sector functions work?