I can provide more details if needed, thanks.
While flashing a rom, I somehow deleted my entire operating system/internal storage to the point where my phone consisted of only the stock bootloader. After hours of work I finally installed a recovery, after which I installed cyanogenmod. I however have no files in my sdcard, except cyanogenmod, and my SIM card is not working. I really need a way to get my phone working again, especially the SIM card. I am at a loss of what to do and if anyone could help I would very much appreciate it.