removing unused function

The function is no longer being used and we use another method to get the file size now that we have the filename