Support image and audio files

This PR is a implementation of #11