use symbols to handle overloading of constructors for different file types. See: https://groups.google.com/forum/#!searchin/julia-users/symbols/julia-users/pQPqRYImpoM/JY3NJnMFiBsJ