Analyse whole file functions