I try to be grammatically correct in my naming*. I\'ve always used filename instead of fileName. The java convention also seems to use this, but
filename
fileName
'filename' assumes that this word describes a singular object like 'cow' or 'chair' 'fileName' assumes that this is a complex object, that there is an object called file and that this object describes the name of that file.
'filename'
'fileName'
Two philosophical approaches, take your pick.