Matlab: Process multiple files with given conversion function