added file_type to songfiles, added logic and JS for upvotes and downvotes