Working @import

Fixed the @import to not generate errors and to report the missing filename correctly.