Added ability to get file length