prefer functions over aliases
recognise more file extensions