```
fileHandle = open(filedir, 'r')
content = fileHandle.read().split('\n')
for e in content:
    if (e == '' or (e[0] != r"@"):
        content.remove(e)
fileHandle.close()

```

So, what I'm trying to do here is open a file with some text and split it into lines, and then remove those lines that doesn't start with @. But instead, at some point it just doesnt take off more lines and some without the '@' end in the content var. Why?