Make difference between file and buffer more clear