Other than turning warnings off.. what can I do in my code to get rid of this error:

```
warning: filesize() [function.filesize] stat failed for ....  on line 152

```

The code is:

```
$store_filesize = filesize($file->filepath);

```