Instead of checking file on disk first and then comparing with __INCLUDES__ maybe we should check __INCLUDES__ first? That way the file won't be read from disk if it is already in includes.