Move filetype to start of heading