more changes to accomodate bin file extension