removed attempts at determining file size