Edited awe wrapper script to accept file type as parameter.