fix resolve file to support compiled and assembly before raw source