How can we determine the file size value?

check if Openfire is the owner of the directory. you did change the directory right? did you also remember to give Openfire the ownership of said directory?