Unfortunately you'll have to know how you managed your projects.
When importing files into FCPX you can "Leave them in place" or import them into an FCPX Library.
You may need to open FCPX and see where the files are for each project.
Personally I'd never delete source files. I don't delete Libraries either. I just buy more hard drives.