Glad so many people are happy I brought this up, As I stated in my first post it is a little Gem of a routine.
Won't actually return file size, but you could always add a simple OPEN:LOF:CLOSE to get file sizes as it reads in the files(I mean put the code in the ELSEIF area). I do not need that functionality in what I'm working on, but something like Bplus is talking about you might what to show file size as well.
Wonder why they made the Linux OS so picky? Maybe its just me but I can't see the need for case sensitivity in file names. Be like having a variable named ABCD and having 15 variations on it simply by using upper and lower case, that would be horrible to keep track of I would think! The forward-backward slash thing I don't know, I tend to use either one at random which may be bad practice in reality, but I still feel its rather nit picky to be arbitrarily enforcing one or the other.