Refactored to use the same methods regardless of csv and ran PEP8