Sort aliases
Move cremaps before maps.
Add find_parent_file function.
Change formatting.