Implement of methot fromFile()

node-mime is a new npm dependency for this implementation