MD5 is probably the best choice if you intend to do a fast check on whether a file was transferred free of errors or accidental modification.
Otherwise, as stated in all previous answers, use SHA-2.
Is calculating an MD5 hash less CPU intensive than SHA family functions?